Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed of latest 3.0 #3846

Closed
eblanca opened this issue Sep 25, 2022 · 4 comments
Closed

Build failed of latest 3.0 #3846

eblanca opened this issue Sep 25, 2022 · 4 comments

Comments

@eblanca
Copy link

eblanca commented Sep 25, 2022

I checked out git revision 1b641b6 and the build is failing because of some headers not found:

[ 77%] Building CXX object utils/CMakeFiles/transmission-remote.dir/remote.cc.o
In file included from /home/topolinik/svn/transmission/gtk/Application.cc:38:
/home/topolinik/svn/transmission/gtk/FilterBar.h:10:10: fatal error: glibmm/extraclassinit.h: File o directory non esistente
 #include <glibmm/extraclassinit.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Note: this header is missing indeed, but the -dev package shows as installed via synaptic.

My cmake command line was:

$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_GTK=ON -DENABLE_QT=OFF -DENABLE_MAC=OFF ..

and the check resulted OK:

-- Checking for modules 'gtkmm-3.0>=3.24.0;glibmm-2.4>=2.50.1;giomm-2.4>=2.26.0'
--   Found gtkmm-3.0, version 3.24.0
--   Found glibmm-2.4, version 2.58.0
--   Found giomm-2.4, version 2.58.0

Any hints?

@mikedld
Copy link
Member

mikedld commented Sep 25, 2022

This file is usually provided by glibmm development package, e.g. I can see it in libglibmm-2.4-dev for Debian and glibmm24-devel for Fedora. Check if you have it properly installed.

@eblanca
Copy link
Author

eblanca commented Sep 27, 2022

Indeed, the header file is missing from the -dev package for amd64.
Submitted bug report to debian guys.
Closing.

@eblanca eblanca closed this as completed Sep 27, 2022
@eblanca
Copy link
Author

eblanca commented Sep 29, 2022

A last note after a brief glibmm release check:
extraclassinit.h first appears into release 2.59.1 so should the requisite for cmake be raised accordingly?

@ckerr
Copy link
Member

ckerr commented Sep 30, 2022

A last note after a brief glibmm release check:
extraclassinit.h first appears into release 2.59.1 so should the requisite for cmake be raised accordingly?

Sounds reasonable to me.

Since 2.59.1 is an unstable release let's bump the glibmm minimum to 2.60.0, the first post-2.59.1 stable release

ckerr added a commit that referenced this issue Sep 30, 2022
ckerr added a commit that referenced this issue Sep 30, 2022
* build: rename GTK_MINIMUM, etc as GTKMM_MINIMUM in CMakeLists

* build: bump glibmm depdency min version to 2.60.0

#3846

for extraclassinit.h

* build: fix duplicated version number for deflate dependency

* build: sort dependency list in CMakeLists.txt

no functional changes, just housekeeping

* refactor: remove gtr_get_ptr()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants